package com.hotelManagerSystem.service;

import com.hotelManagerSystem.model.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  角色服务类
 * </p>
 *
 * @author longyajr
 * @since 2021-12-22
 */
public interface IRoleService extends IService<Role> {

    List<Role> queryRoleList();

    /**
     * @author treasy
     * @description 根据员工账号查询员工角色信息
     */
    List<Role> queryRoleListByUsername(String username);
}
